package com.totem.customer.api;

import com.totem.base.model.PageVO;
import com.totem.base.model.Result;
import com.totem.customer.vo.*;
import com.totem.product.vo.ProductVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

@Tag(name="ITTrackServiceApi", description="足迹信息服务")
public interface ITTrackServiceApi {
    @Operation(summary="添加足迹信息")
    @PostMapping("/track/add")
    @ResponseBody
    Result<Boolean> add(@RequestBody AddTrackVO vo);
    @Operation(summary="分页展示客户足迹列表")
    @PostMapping("/track/page")
    @ResponseBody
    Result<PageVO<ProductVO>> trackPage(@RequestBody TrackPageVO vo);
}
